package widok;

import javax.swing.*;
import java.awt.*;

/**
 * Author: Mariola
 * Date: 22.08.13
 */

public class DolnyPanel extends JPanel{

    public DolnyPanel(){
       ustawPanel();
    }

    public void ustawPanel(){
        // setBackground(new Color(107, 224, 117));
        setBorder(BorderFactory.createTitledBorder("Rysowanie figury"));
    }

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        g.drawRect(50, 50, 100, 50);
    }
}
